public class X<T extends Runnable & Compareable> {
}
